package com.wing.productionPlan.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.productionPlan.model.entity.ProProductDeliveryOrder;
import com.wing.productionPlan.model.entity.ProQualityTask;
import com.wing.productionPlan.model.response.ProProductDeliveryOrderVo;
import com.wing.productionPlan.model.response.ProQualityTaskVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 质检记录详情表-Dao
 *
 * @author
 */
@Mapper
public interface ProProductDeliveryOrderDao extends BaseMapper<ProProductDeliveryOrder> {

    /**
     * 查询提货订单列表
     * @param pg
     * @param map
     * @return
     */
    List<ProProductDeliveryOrderVo> pageList4app(@Param("page") Page<ProProductDeliveryOrderVo> pg,@Param("map") Map map);

    /**
     * 查询
     * @return
     */
    List<Map<String, Object>> getCodeToIdMapForProduct();
}
